<?php

namespace app\rongcui\validate;

use think\Validate;

class RongcuiAgencyValidate extends Validate
{
    protected $rule = [
        'name' => 'require|unique:rongcui_agency',
    ];

    protected $message = [
        'name.require' => '机构名称不能为空',
        'name.unique' => '机构名称不能重复',
    ];
}